import request from "@/utils/request";

export function getOssPicture(data) {
    return request({
        url: '/uum-oss/api/v1/oss/page',
        method: 'get',
        params: data
    })
}

export function getOssCatalog() {
    return request({
        url: '/uum-oss/api/v1/oss/listOssCatalog',
        method: 'get',
    })
}



export function deleteOssPicture(data) {
    return request({
        url: '/uum-oss/api/v1/oss/delete',
        method: 'delete',
        params: {ids:data}
    })
}


export function upload(data){
    return request({
        url: '/uum-oss/api/v1/oss/upload',
        method: 'post',
        data
    })
}

